SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c28ed73bd986eb82b5ea062b159a2bda0ab338336ce15242fc0215108e76ffa7}Rühen{c28ed73bd986eb82b5ea062b159a2bda0ab338336ce15242fc0215108e76ffa7}' OR prCity = 'Rühen' OR prZip = 'Rühen' OR prStreet LIKE '{c28ed73bd986eb82b5ea062b159a2bda0ab338336ce15242fc0215108e76ffa7}Rühen{c28ed73bd986eb82b5ea062b159a2bda0ab338336ce15242fc0215108e76ffa7}' OR prCountry = 'Rühen') AND (prLocation LIKE '{c28ed73bd986eb82b5ea062b159a2bda0ab338336ce15242fc0215108e76ffa7}Germany{c28ed73bd986eb82b5ea062b159a2bda0ab338336ce15242fc0215108e76ffa7}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{c28ed73bd986eb82b5ea062b159a2bda0ab338336ce15242fc0215108e76ffa7}Germany{c28ed73bd986eb82b5ea062b159a2bda0ab338336ce15242fc0215108e76ffa7}' OR prCountry = 'Germany')